<?php
//任务派发后台
use LSYS\Cron\Dispatcher;
use LSYS\Cron;
if(PHP_SAPI!='cli')die("plase run in cli\n");
include_once __DIR__."/Bootstarp.php";
$dis=new Dispatcher(new Cron(get_redis()));
$dis->listen();